﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace STS_wpf_tester
{
    public class TestCarTableSupport_Initial
    {

        public void InsertCar()
        {
        }


        public void UpdateCar()
        {

        }

        public void DeleteCar()
        {

        }




    }    


    public class Car
    {
        public Car()
        {
            this.CarId = 0;
            this.LicencePlate = String.Empty;
            this.VIN = "00000000000000000";
            this.Mileage = 0;
            this.ProductionYear = new DateTime(2000, 1, 1);
        }

        /// <summary>
        /// Will be moved into the table key
        /// </summary>
        public int CarId { get; set; }

        public string LicencePlate { get; set; }

        public string VIN { get; set; }

        /// <summary>
        /// Doubled with the info inside of VIN
        /// </summary>
        public DateTime ProductionYear { get; set; }

        public int Mileage { get; set; }

        public string Model { get; set; }

    }


    public class XCar
    {
        public XCar()
        {
            this.CarId = 0;
            this.LicencePlate = String.Empty;
            this.VIN = "00000000000000000";
            this.Mileage = 0;
            this.ProductionYear = new DateTime(2000, 1, 1);
        }

        /// <summary>
        /// Will be moved into the table key
        /// </summary>
        public int CarId { get; set; }

        public string LicencePlate { get; set; }

        public string VIN { get; set; }

        /// <summary>
        /// Doubled with the info inside of VIN
        /// </summary>
        public DateTime ProductionYear { get; set; }

        public int Mileage { get; set; }

        public string Model { get; set; }

    }

    public class TestCarTableSupport_AfterAddingNewIndex
    {

        public void InsertCar()
        {
        }


        public void UpdateCar()
        {

        }

        public void DeleteCar()
        {

        }




    }





}
